package com.budwk.app.sqfw.services.datamange;

import com.budwk.app.sqfw.models.Sqfw_datamange_community;
import com.budwk.app.sqfw.vo.SqfwDataMangeVO;
import com.budwk.starter.common.page.Pagination;
import com.budwk.starter.database.service.BaseService;

import java.util.List;
import java.util.Map;

public interface DataMangeCommunityService extends BaseService<Sqfw_datamange_community> {
    Pagination page(SqfwDataMangeVO bean);

    Pagination pageViewByType(SqfwDataMangeVO bean);

    void save(SqfwDataMangeVO bean);

    void parseDataBig(SqfwDataMangeVO bean);

    void deleteData(List<String> ids);

    void updateData(SqfwDataMangeVO bean);

    void cleanDataByType(List<String> ids, String type);

    void cleanDataBySummaryId(String summaryId);

    void cleanDataBySummaryId(List<String> ids);

    List<Sqfw_datamange_community> queryViewInfo(SqfwDataMangeVO bean, String viewName, String countFlag);

    void batchCleanData(SqfwDataMangeVO bean);

    Map<String, String> getUserTopAreaLevelId();
}
